function fileName=photoName(folderName,photoNamePre,photoInd,suffix)
%create the file name suitable for camera created files
if photoInd<10
    fileName=strcat(folderName,photoNamePre,'00',num2str(photoInd),suffix);%ͨ��ͳһ��������ʽ����ѭ�����㡣J:\SOCTc\F2013-02-23\RamanRabi
elseif (photoInd>=10)&&(photoInd<100)
    fileName=strcat(folderName,photoNamePre,'0',num2str(photoInd),suffix);
elseif photoInd>=100;
    fileName=strcat(folderName,photoNamePre,num2str(photoInd),suffix);
end 